<?php
	$host = "localhost";
	$user = "root";
	$pass = "password";
	$db = "flybbs";

	$mysqli = new mysqli();
	$mysqli->connect($host,$user,$pass);
	$mysqli->select_db($db);
	
	$mysqli->query("set names gb2312");
?>